Optimal. Leaf size=1153 \[ -\frac {3 (d+e x) (b d-2 a e+(2 c d-b e) x)}{4 \left (b^2-4 a c\right ) \left (a+b x+c x^2\right )^{4/3}}-\frac {3 \left (4 b^2 d e+4 a c d e-5 b \left (c d^2+a e^2\right )-\left (10 c^2 d^2+b^2 e^2-2 c e (5 b d-3 a e)\right ) x\right )}{2 \left (b^2-4 a c\right )^2 \sqrt [3]{a+b x+c x^2}}-\frac {3 \left (10 c^2 d^2+b^2 e^2-2 c e (5 b d-3 a e)\right ) (b+2 c x)}{2 \sqrt [3]{2} c^{2/3} \left (b^2-4 a c\right )^2 \left (\left (1+\sqrt {3}\right ) \sqrt [3]{b^2-4 a c}+2^{2/3} \sqrt [3]{c} \sqrt [3]{a+b x+c x^2}\right )}+\frac {3 \sqrt [4]{3} \sqrt {2-\sqrt {3}} \left (10 c^2 d^2+b^2 e^2-2 c e (5 b d-3 a e)\right ) \left (\sqrt [3]{b^2-4 a c}+2^{2/3} \sqrt [3]{c} \sqrt [3]{a+b x+c x^2}\right ) \sqrt {\frac {\left (b^2-4 a c\right )^{2/3}-2^{2/3} \sqrt [3]{c} \sqrt [3]{b^2-4 a c} \sqrt [3]{a+b x+c x^2}+2 \sqrt [3]{2} c^{2/3} \left (a+b x+c x^2\right )^{2/3}}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{b^2-4 a c}+2^{2/3} \sqrt [3]{c} \sqrt [3]{a+b x+c x^2}\right )^2}} E\left (\sin ^{-1}\left (\frac {\left (1-\sqrt {3}\right ) \sqrt [3]{b^2-4 a c}+2^{2/3} \sqrt [3]{c} \sqrt [3]{a+b x+c x^2}}{\left (1+\sqrt {3}\right ) \sqrt [3]{b^2-4 a c}+2^{2/3} \sqrt [3]{c} \sqrt [3]{a+b x+c x^2}}\right )|-7-4 \sqrt {3}\right )}{4 \sqrt [3]{2} c^{2/3} \left (b^2-4 a c\right )^{5/3} (b+2 c x) \sqrt {\frac {\sqrt [3]{b^2-4 a c} \left (\sqrt [3]{b^2-4 a c}+2^{2/3} \sqrt [3]{c} \sqrt [3]{a+b x+c x^2}\right )}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{b^2-4 a c}+2^{2/3} \sqrt [3]{c} \sqrt [3]{a+b x+c x^2}\right )^2}}}-\frac {3^{3/4} \left (10 c^2 d^2+b^2 e^2-2 c e (5 b d-3 a e)\right ) \left (\sqrt [3]{b^2-4 a c}+2^{2/3} \sqrt [3]{c} \sqrt [3]{a+b x+c x^2}\right ) \sqrt {\frac {\left (b^2-4 a c\right )^{2/3}-2^{2/3} \sqrt [3]{c} \sqrt [3]{b^2-4 a c} \sqrt [3]{a+b x+c x^2}+2 \sqrt [3]{2} c^{2/3} \left (a+b x+c x^2\right )^{2/3}}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{b^2-4 a c}+2^{2/3} \sqrt [3]{c} \sqrt [3]{a+b x+c x^2}\right )^2}} F\left (\sin ^{-1}\left (\frac {\left (1-\sqrt {3}\right ) \sqrt [3]{b^2-4 a c}+2^{2/3} \sqrt [3]{c} \sqrt [3]{a+b x+c x^2}}{\left (1+\sqrt {3}\right ) \sqrt [3]{b^2-4 a c}+2^{2/3} \sqrt [3]{c} \sqrt [3]{a+b x+c x^2}}\right )|-7-4 \sqrt {3}\right )}{2^{5/6} c^{2/3} \left (b^2-4 a c\right )^{5/3} (b+2 c x) \sqrt {\frac {\sqrt [3]{b^2-4 a c} \left (\sqrt [3]{b^2-4 a c}+2^{2/3} \sqrt [3]{c} \sqrt [3]{a+b x+c x^2}\right )}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{b^2-4 a c}+2^{2/3} \sqrt [3]{c} \sqrt [3]{a+b x+c x^2}\right )^2}}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.94, antiderivative size = 1153, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 6, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.273, Rules used = {752, 652, 637,
309, 224, 1891} \begin {gather*} -\frac {3 \left (10 c^2 d^2+b^2 e^2-2 c e (5 b d-3 a e)\right ) (b+2 c x)}{2 \sqrt [3]{2} c^{2/3} \left (b^2-4 a c\right )^2 \left (\left (1+\sqrt {3}\right ) \sqrt [3]{b^2-4 a c}+2^{2/3} \sqrt [3]{c} \sqrt [3]{c x^2+b x+a}\right )}-\frac {3 \left (4 d e b^2-5 \left (c d^2+a e^2\right ) b+4 a c d e-\left (10 c^2 d^2+b^2 e^2-2 c e (5 b d-3 a e)\right ) x\right )}{2 \left (b^2-4 a c\right )^2 \sqrt [3]{c x^2+b x+a}}-\frac {3 (d+e x) (b d-2 a e+(2 c d-b e) x)}{4 \left (b^2-4 a c\right ) \left (c x^2+b x+a\right )^{4/3}}+\frac {3 \sqrt [4]{3} \sqrt {2-\sqrt {3}} \left (10 c^2 d^2+b^2 e^2-2 c e (5 b d-3 a e)\right ) \left (\sqrt [3]{b^2-4 a c}+2^{2/3} \sqrt [3]{c} \sqrt [3]{c x^2+b x+a}\right ) \sqrt {\frac {\left (b^2-4 a c\right )^{2/3}-2^{2/3} \sqrt [3]{c} \sqrt [3]{c x^2+b x+a} \sqrt [3]{b^2-4 a c}+2 \sqrt [3]{2} c^{2/3} \left (c x^2+b x+a\right )^{2/3}}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{b^2-4 a c}+2^{2/3} \sqrt [3]{c} \sqrt [3]{c x^2+b x+a}\right )^2}} E\left (\text {ArcSin}\left (\frac {\left (1-\sqrt {3}\right ) \sqrt [3]{b^2-4 a c}+2^{2/3} \sqrt [3]{c} \sqrt [3]{c x^2+b x+a}}{\left (1+\sqrt {3}\right ) \sqrt [3]{b^2-4 a c}+2^{2/3} \sqrt [3]{c} \sqrt [3]{c x^2+b x+a}}\right )|-7-4 \sqrt {3}\right )}{4 \sqrt [3]{2} c^{2/3} \left (b^2-4 a c\right )^{5/3} \sqrt {\frac {\sqrt [3]{b^2-4 a c} \left (\sqrt [3]{b^2-4 a c}+2^{2/3} \sqrt [3]{c} \sqrt [3]{c x^2+b x+a}\right )}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{b^2-4 a c}+2^{2/3} \sqrt [3]{c} \sqrt [3]{c x^2+b x+a}\right )^2}} (b+2 c x)}-\frac {3^{3/4} \left (10 c^2 d^2+b^2 e^2-2 c e (5 b d-3 a e)\right ) \left (\sqrt [3]{b^2-4 a c}+2^{2/3} \sqrt [3]{c} \sqrt [3]{c x^2+b x+a}\right ) \sqrt {\frac {\left (b^2-4 a c\right )^{2/3}-2^{2/3} \sqrt [3]{c} \sqrt [3]{c x^2+b x+a} \sqrt [3]{b^2-4 a c}+2 \sqrt [3]{2} c^{2/3} \left (c x^2+b x+a\right )^{2/3}}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{b^2-4 a c}+2^{2/3} \sqrt [3]{c} \sqrt [3]{c x^2+b x+a}\right )^2}} F\left (\text {ArcSin}\left (\frac {\left (1-\sqrt {3}\right ) \sqrt [3]{b^2-4 a c}+2^{2/3} \sqrt [3]{c} \sqrt [3]{c x^2+b x+a}}{\left (1+\sqrt {3}\right ) \sqrt [3]{b^2-4 a c}+2^{2/3} \sqrt [3]{c} \sqrt [3]{c x^2+b x+a}}\right )|-7-4 \sqrt {3}\right )}{2^{5/6} c^{2/3} \left (b^2-4 a c\right )^{5/3} \sqrt {\frac {\sqrt [3]{b^2-4 a c} \left (\sqrt [3]{b^2-4 a c}+2^{2/3} \sqrt [3]{c} \sqrt [3]{c x^2+b x+a}\right )}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{b^2-4 a c}+2^{2/3} \sqrt [3]{c} \sqrt [3]{c x^2+b x+a}\right )^2}} (b+2 c x)} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
Rule 224
Rule 309
Rule 637
Rule 652
Rule 752
Rule 1891
Rubi steps
\begin {align*} \int \frac {(d+e x)^2}{\left (a+b x+c x^2\right )^{7/3}} \, dx &=-\frac {3 (d+e x) (b d-2 a e+(2 c d-b e) x)}{4 \left (b^2-4 a c\right ) \left (a+b x+c x^2\right )^{4/3}}-\frac {3 \int \frac {\frac {2}{3} \left (5 c d^2-e (4 b d-3 a e)\right )+\frac {2}{3} e (2 c d-b e) x}{\left (a+b x+c x^2\right )^{4/3}} \, dx}{4 \left (b^2-4 a c\right )}\\ &=-\frac {3 (d+e x) (b d-2 a e+(2 c d-b e) x)}{4 \left (b^2-4 a c\right ) \left (a+b x+c x^2\right )^{4/3}}-\frac {3 \left (4 b^2 d e+4 a c d e-5 b \left (c d^2+a e^2\right )-\left (10 c^2 d^2+b^2 e^2-2 c e (5 b d-3 a e)\right ) x\right )}{2 \left (b^2-4 a c\right )^2 \sqrt [3]{a+b x+c x^2}}-\frac {\left (10 c^2 d^2+b^2 e^2-2 c e (5 b d-3 a e)\right ) \int \frac {1}{\sqrt [3]{a+b x+c x^2}} \, dx}{2 \left (b^2-4 a c\right )^2}\\ &=-\frac {3 (d+e x) (b d-2 a e+(2 c d-b e) x)}{4 \left (b^2-4 a c\right ) \left (a+b x+c x^2\right )^{4/3}}-\frac {3 \left (4 b^2 d e+4 a c d e-5 b \left (c d^2+a e^2\right )-\left (10 c^2 d^2+b^2 e^2-2 c e (5 b d-3 a e)\right ) x\right )}{2 \left (b^2-4 a c\right )^2 \sqrt [3]{a+b x+c x^2}}-\frac {\left (3 \left (10 c^2 d^2+b^2 e^2-2 c e (5 b d-3 a e)\right ) \sqrt {(b+2 c x)^2}\right ) \text {Subst}\left (\int \frac {x}{\sqrt {b^2-4 a c+4 c x^3}} \, dx,x,\sqrt [3]{a+b x+c x^2}\right )}{2 \left (b^2-4 a c\right )^2 (b+2 c x)}\\ &=-\frac {3 (d+e x) (b d-2 a e+(2 c d-b e) x)}{4 \left (b^2-4 a c\right ) \left (a+b x+c x^2\right )^{4/3}}-\frac {3 \left (4 b^2 d e+4 a c d e-5 b \left (c d^2+a e^2\right )-\left (10 c^2 d^2+b^2 e^2-2 c e (5 b d-3 a e)\right ) x\right )}{2 \left (b^2-4 a c\right )^2 \sqrt [3]{a+b x+c x^2}}-\frac {\left (3 \left (10 c^2 d^2+b^2 e^2-2 c e (5 b d-3 a e)\right ) \sqrt {(b+2 c x)^2}\right ) \text {Subst}\left (\int \frac {\left (1-\sqrt {3}\right ) \sqrt [3]{b^2-4 a c}+2^{2/3} \sqrt [3]{c} x}{\sqrt {b^2-4 a c+4 c x^3}} \, dx,x,\sqrt [3]{a+b x+c x^2}\right )}{2\ 2^{2/3} \sqrt [3]{c} \left (b^2-4 a c\right )^2 (b+2 c x)}-\frac {\left (3 \left (10 c^2 d^2+b^2 e^2-2 c e (5 b d-3 a e)\right ) \sqrt {(b+2 c x)^2}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {b^2-4 a c+4 c x^3}} \, dx,x,\sqrt [3]{a+b x+c x^2}\right )}{2 \sqrt [6]{2} \sqrt {2+\sqrt {3}} \sqrt [3]{c} \left (b^2-4 a c\right )^{5/3} (b+2 c x)}\\ &=-\frac {3 (d+e x) (b d-2 a e+(2 c d-b e) x)}{4 \left (b^2-4 a c\right ) \left (a+b x+c x^2\right )^{4/3}}-\frac {3 \left (4 b^2 d e+4 a c d e-5 b \left (c d^2+a e^2\right )-\left (10 c^2 d^2+b^2 e^2-2 c e (5 b d-3 a e)\right ) x\right )}{2 \left (b^2-4 a c\right )^2 \sqrt [3]{a+b x+c x^2}}-\frac {3 \left (10 c^2 d^2+b^2 e^2-2 c e (5 b d-3 a e)\right ) (b+2 c x)}{2 \sqrt [3]{2} c^{2/3} \left (b^2-4 a c\right )^2 \left (\left (1+\sqrt {3}\right ) \sqrt [3]{b^2-4 a c}+2^{2/3} \sqrt [3]{c} \sqrt [3]{a+b x+c x^2}\right )}+\frac {3 \sqrt [4]{3} \sqrt {2-\sqrt {3}} \left (10 c^2 d^2+b^2 e^2-2 c e (5 b d-3 a e)\right ) \left (\sqrt [3]{b^2-4 a c}+2^{2/3} \sqrt [3]{c} \sqrt [3]{a+b x+c x^2}\right ) \sqrt {\frac {\left (b^2-4 a c\right )^{2/3}-2^{2/3} \sqrt [3]{c} \sqrt [3]{b^2-4 a c} \sqrt [3]{a+b x+c x^2}+2 \sqrt [3]{2} c^{2/3} \left (a+b x+c x^2\right )^{2/3}}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{b^2-4 a c}+2^{2/3} \sqrt [3]{c} \sqrt [3]{a+b x+c x^2}\right )^2}} E\left (\sin ^{-1}\left (\frac {\left (1-\sqrt {3}\right ) \sqrt [3]{b^2-4 a c}+2^{2/3} \sqrt [3]{c} \sqrt [3]{a+b x+c x^2}}{\left (1+\sqrt {3}\right ) \sqrt [3]{b^2-4 a c}+2^{2/3} \sqrt [3]{c} \sqrt [3]{a+b x+c x^2}}\right )|-7-4 \sqrt {3}\right )}{4 \sqrt [3]{2} c^{2/3} \left (b^2-4 a c\right )^{5/3} (b+2 c x) \sqrt {\frac {\sqrt [3]{b^2-4 a c} \left (\sqrt [3]{b^2-4 a c}+2^{2/3} \sqrt [3]{c} \sqrt [3]{a+b x+c x^2}\right )}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{b^2-4 a c}+2^{2/3} \sqrt [3]{c} \sqrt [3]{a+b x+c x^2}\right )^2}}}-\frac {3^{3/4} \left (10 c^2 d^2+b^2 e^2-2 c e (5 b d-3 a e)\right ) \left (\sqrt [3]{b^2-4 a c}+2^{2/3} \sqrt [3]{c} \sqrt [3]{a+b x+c x^2}\right ) \sqrt {\frac {\left (b^2-4 a c\right )^{2/3}-2^{2/3} \sqrt [3]{c} \sqrt [3]{b^2-4 a c} \sqrt [3]{a+b x+c x^2}+2 \sqrt [3]{2} c^{2/3} \left (a+b x+c x^2\right )^{2/3}}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{b^2-4 a c}+2^{2/3} \sqrt [3]{c} \sqrt [3]{a+b x+c x^2}\right )^2}} F\left (\sin ^{-1}\left (\frac {\left (1-\sqrt {3}\right ) \sqrt [3]{b^2-4 a c}+2^{2/3} \sqrt [3]{c} \sqrt [3]{a+b x+c x^2}}{\left (1+\sqrt {3}\right ) \sqrt [3]{b^2-4 a c}+2^{2/3} \sqrt [3]{c} \sqrt [3]{a+b x+c x^2}}\right )|-7-4 \sqrt {3}\right )}{2^{5/6} c^{2/3} \left (b^2-4 a c\right )^{5/3} (b+2 c x) \sqrt {\frac {\sqrt [3]{b^2-4 a c} \left (\sqrt [3]{b^2-4 a c}+2^{2/3} \sqrt [3]{c} \sqrt [3]{a+b x+c x^2}\right )}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{b^2-4 a c}+2^{2/3} \sqrt [3]{c} \sqrt [3]{a+b x+c x^2}\right )^2}}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains higher order function than in optimal. Order 5 vs. order 4 in
optimal.
time = 10.54, size = 342, normalized size = 0.30 \begin {gather*} \frac {3 c \left (-b^3 \left (d^2+8 d e x-3 e^2 x^2\right )+b^2 \left (2 a e (-3 d+7 e x)+2 c x \left (4 d^2-15 d e x+e^2 x^2\right )\right )+4 c \left (5 c^2 d^2 x^3+a^2 e (-4 d+e x)+a c x \left (7 d^2+3 e^2 x^2\right )\right )+2 b \left (5 a^2 e^2+5 c^2 d x^2 (3 d-2 e x)+a c \left (7 d^2-14 d e x+9 e^2 x^2\right )\right )\right )-2^{2/3} (b+2 c x) \sqrt [3]{\frac {c (a+x (b+c x))}{-b^2+4 a c}} \left (6 a^2 c e^2+\left (10 c^2 d^2-10 b c d e+b^2 e^2\right ) x (b+c x)+a \left (b^2 e^2+2 b c e (-5 d+3 e x)+2 c^2 \left (5 d^2+3 e^2 x^2\right )\right )\right ) \, _2F_1\left (\frac {1}{3},\frac {1}{2};\frac {3}{2};\frac {(b+2 c x)^2}{b^2-4 a c}\right )}{4 c \left (b^2-4 a c\right )^2 (a+x (b+c x))^{4/3}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.38, size = 0, normalized size = 0.00 \[\int \frac {\left (e x +d \right )^{2}}{\left (c \,x^{2}+b x +a \right )^{\frac {7}{3}}}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (d + e x\right )^{2}}{\left (a + b x + c x^{2}\right )^{\frac {7}{3}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {{\left (d+e\,x\right )}^2}{{\left (c\,x^2+b\,x+a\right )}^{7/3}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________